package com.woniuxy.book.exception.orderinfo;

public enum OrderInfoExceptionCode {
    ORDER_INFO_EXCEPTION_ORDER_NOTEXITS(50001,"该订单不存在或不是你的"),
    ORDER_INFO_EXCEPTION_ORDER_BANDELETE(50002,"该订单状态不能被删除");

    private Integer code;
    private String message;

    OrderInfoExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
